package com.course.component.util.tree;

import lombok.Data;
import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

@Data
@Getter
public class TreeNode {
    private Long id;
    private String title;
    private Long parentId;
    private List<TreeNode> children = new ArrayList<>();
}
